import Vue from 'vue'
import App from './App'
import searchBox from '@/components/search/search.vue'
import swiperBox from '@/components/swiperSub/index.vue'
import titleBox from '@/components/headTitle/index.vue'
import noteBox from '@/components/note/index.vue'
import bolgBox from '@/components/bolgInfo/index.vue'
import gradeBox from '@/components/grade/index.vue'
import mineBox from '@/components/mine/index.vue'
import Taste from '@/components/mineTaste/index.vue'
import Reward from '@/components/mineReward/index.vue'
import bolgFormBox from '@/components/bolgForm/index.vue'


import request from 'utils/request.js'
Vue.prototype.$request = request

Vue.config.productionTip = false

Vue.component('search', searchBox)
Vue.component('swiperSub', swiperBox)
Vue.component('headTitle', titleBox)
Vue.component('note', noteBox)
Vue.component('bolgInfo', bolgBox)
Vue.component('grade', gradeBox)
Vue.component('mine', mineBox)
Vue.component('mineTaste', Taste)
Vue.component('mineReward', Reward)
Vue.component('bolgForm', bolgFormBox)

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
